package com.supertimetable.bean;

public class TeacherTable {
	private int weekdays = 7;
	private int daytimes = 6;
	

	private String teacherTableName;

	private String totalTime;

	private String dep;

	private String teacherName;

	private String sex;

	private String prof;

	private Course [][] courses = new Course [daytimes][weekdays];
	
	
	public TeacherTable() {
		super();
		
	}


	public TeacherTable(String teacherTableName, String totalTime, String depa, String teacherName, String sex,
			String prof, Course[][] courses) {
		super();
		this.teacherTableName = teacherTableName;
		this.totalTime = totalTime;
		this.dep = dep;
		this.teacherName = teacherName;
		this.sex = sex;
		this.prof = prof;
		this.courses = courses;
	}


	public String getTeacherTableName() {
		return teacherTableName;
	}


	public void setTeacherTableName(String teacherTableName) {
		this.teacherTableName = teacherTableName;
	}


	public String getTotalTime() {
		return totalTime;
	}


	public void setTotalTime(String totalTime) {
		this.totalTime = totalTime;
	}


	public String getDepa() {
		return dep;
	}


	public void setDepa(String dep) {
		this.dep = dep;
	}


	public String getTeacherName() {
		return teacherName;
	}


	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}


	public String getSex() {
		return sex;
	}


	public void setSex(String sex) {
		this.sex = sex;
	}


	public String getProf() {
		return prof;
	}


	public void setProf(String prof) {
		this.prof = prof;
	}


	public Course[][] getCourses() {
		return courses;
	}


	public void setCourses(Course[][] courses) {
		this.courses = courses;
	}
		
	public void addCourse(int weekTime, int dayTime, Course course){
		this.courses[dayTime][weekTime] = course;
	}
	public Course getCourse(int weekTime, int dayTime){
		return this.courses[dayTime][weekTime];
	}
	public Course[][] getTotalCourse(){
		return this.courses;
	}

}
